package so.go4.dao;

import so.go4.model.Article;

import java.util.List;

public interface IArticleDao {
    int deleteByPrimaryKey(Integer articleId);

    int insert(Article record);

    int insertSelective(Article record);

    public Article selectByPrimaryKey(Integer articleId);

    int updateByPrimaryKeySelective(Article record);

    int updateByPrimaryKeyWithBLOBs(Article record);

    int updateByPrimaryKey(Article record);

    public List<Article> selectAllContents();

    public List<Article> selectO(int id);

    public List<Article> selectTitleWithCate(String categories);

    public List<Article> selectAllContentsWithCate(String categories);

    public List<Article> testPojo(Article article);

    public int countArticles(Article article);
}
